package biolabs.gui;

import biolabs.core.Experiment;

/**
 * Listener to be notified when an experiment is selected
 * in the list of active experiments.
 *
 * @author Tomas Mikula
 */
interface ExperimentSelectionListener {

	/**
	 * Used to notify the listener that the selection has changed.
	 * @param exp the newly selected experiment. If {@code null}, no
	 * experiment is currently selected.
	 */
	public void experimentSelected(Experiment exp);
}
